<?php

namespace App\Http\Controllers\Test;

use App\Http\Controllers\Wechat\LoginController;
use App\Librarys\Tencent;
use App\Pull\Center;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Monolog\Handler\RotatingFileHandler;

class TestController extends Controller
{
    //
    public function test()
    {
//        $a = null;
//        $path = storage_path() . '/logs/';
//        $list = debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2);
//        $handler = new RotatingFileHandler($path);
        $c = new LoginController();
        $s = $c -> get_accessToken();
        var_dump($s);
    }
}
